package com.azier.kapacitor.script.method;

import com.azier.kapacitor.script.arg.SingleQuotesArg;

import java.util.ArrayList;

/**
* 1 * @Author: luoj
* 2 * @Date: 2019/11/8 11:27
* 3
*/
public class Mqtt extends AbstractMethod {
    private static final String name = "mqtt";
    /**
    Send alert to an MQTT broker
    **/
    /**
    发送警报给MQTT经纪人
    **/
    public Mqtt(String topic) {
        super(new ArrayList<>(), name);
        //
        this.args.add(new SingleQuotesArg(topic));


    }
}
